<!DOCTYPE HTML>
<html>
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@page import="com.beidouapp.security.utils.DscpCommUtils" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link href="<%=request.getContextPath()%>/css/common/H-ui.min.css" rel="stylesheet" type="text/css"/>
    <link href="<%=request.getContextPath()%>/css/common/H-ui.admin.css" rel="stylesheet" type="text/css"/>
    <link href="<%=request.getContextPath()%>/css/iconfont/iconfont.css" rel="stylesheet" type="text/css"/>
    <link href="<%=request.getContextPath()%>/css/font-awesome/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <link href="<%=request.getContextPath()%>/css/common/style.css?1.8" rel="stylesheet" type="text/css"/>
    <title>药品更新</title>
</head>
<body>
<div class="pb-20 pt-20" id="projectAdd_first">
    <form class="form form-horizontal" id="projectAdd_firstFrom" >
        <div class="row cl">
            <label class="form-label col-2">药品名称</label>
            <div class="formControls col-6">
                <input type="text" class="input-text" value="${ drug.drugName}" placeholder="" id="drugName" name="drugName" datatype="*2-50"  nullmsg="药品名称不能为空！" errormsg="请填写正确的 名称">
            </div>
            <div class="col-3"><span class="c-red">*</span></div>
        </div>
        <div class="row cl">
            <label class="form-label col-2">通用名称</label>
            <div class="formControls col-6">
                <input type="text" class="input-text"value="${  drug.commonName}" placeholder="" id="commonName" name="commonName" datatype="*2-50"  nullmsg="通用名称不能为空！" errormsg="请填写正确的 名称">
            </div>
            <div class="col-3"><span class="c-red">*</span></div>
        </div>
          <div class="row cl">
            <label class="form-label col-2">英文名称</label>
            <div class="formControls col-6">
                <input type="text" class="input-text" value="${  drug.englishName}" placeholder="" id="englishName" name="englishName" datatype="*2-50"  nullmsg="英文名称不能为空！" errormsg="请填写正确的 名称">
            </div>
            <div class="col-3"><span class="c-red">*</span></div>
        </div>
           <div class="row cl">
            <label class="form-label col-2">中文拼音</label>
            <div class="formControls col-6">
                <input type="text" class="input-text" value="${  drug.chineseSpell}" placeholder="" id="chineseSpell" name="chineseSpell" datatype="*2-50"  nullmsg="中文拼音不能为空！" errormsg="请填写正确的拼音">
            </div>
            <div class="col-3"><span class="c-red">*</span></div>
        </div>
          <div class="row cl">
            <label class="form-label col-2">性状</label>
            <div class="formControls col-6">
                <input type="text" class="input-text" value="${  drug.character}" placeholder="" id="character" name="character" datatype="*2-50"  nullmsg="性状不能为空！" errormsg="请填写正确的数据">
            </div>
            <div class="col-3"><span class="c-red">*</span></div>
        </div>
     
       
        <div class="row cl">
            <label class="form-label col-2">适应状</label>
            <div class="formControls col-6">
                <textarea placeholder="" class="textarea"   id="indication" name="indication" datatype="*1-5000" errormsg="此项字数控制在5000字以内" nullmsg="此项不能为空">${  drug.indication}</textarea>
            </div>
            <div class="col-3"><span class="c-red">*</span></div>
        </div>
        <div class="row cl">
            <label class="form-label col-2">成分</label>
            <div class="formControls col-8">
                <textarea placeholder="" class="textarea" id="element" name="element" >${  drug.element}</textarea>
            </div>
        </div>
         <div class="row cl">
            <label class="form-label col-2">用法用量</label>
            <div class="formControls col-8">
                <textarea placeholder="" class="textarea" id="usageDosage" name="usageDosage"  >${  drug.usageDosage}</textarea>
            </div>
        </div>
          <div class="row cl">
            <label class="form-label col-2">禁忌</label>
            <div class="formControls col-8">
                <textarea placeholder="" class="textarea" id="taboo" name="taboo" >${drug.taboo}</textarea>
            </div>
        </div>
          <div class="row cl">
            <label class="form-label col-2">注意事项</label>
            <div class="formControls col-8">
                <textarea placeholder="" class="textarea" id="attention" name="attention"   >${drug.attention}</textarea>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-2">药物相互作用</label>
            <div class="formControls col-8">
                <textarea placeholder="" class="textarea" id="drugInteraction" name="drugInteraction"   >${drug.drugInteraction}</textarea>
            </div>
        </div>
        
        <div class="row cl">
            <div class="col-9 col-offset-2">
                <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
        
    </form>
</div>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/jquery.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/layer1.8/layer.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/H-ui.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/H-ui.admin.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/Validform_v5.3.2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/tool/ajaxfileupload.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/lib/common/city.js?1.1"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/drugs/drugs_update.js?1.15"></script>
<script type="text/javascript">
    var baseURL="<%=request.getContextPath()%>";
    var drugId=${drug.id};
</script>
</body>
</html>